package com.xxx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 物业信息表
 * </p>
 *
 * @author xxx
 * @since 2024-11-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
public class Properties implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "propertyId", type = IdType.AUTO)
    private Integer propertyId;

    private Integer communityId;

    /**
     * 住址
     */
    private String address;

    /**
     * 住宅、商业、其他
     */
    private String propertyType;

    /**
     * 0-可用 1-出租 2-出售
     */
    private Integer propertyStatus;

    private LocalDateTime createTime;

    /**
     * 0-未删除 1-已删除
     */
    @TableLogic
    private Integer isDeleted;


}
